﻿  
<div class="subcontent-unit-border-green">
          <div class="round-border-topleft"></div><div class="round-border-topright"></div>
          <h1 class="green">Carteira DayTrade A.I.B.:</h1>
{% for row in response_status_aib_start %}  
          <p>Data Ínicio: <b>{{ row.4 }}</b></p>
{% endfor %}
{% for row in response_status_aib_ultima %}  
          <p>Ultima Trans.: <b>{{ row.4 }}</b></p>
		  <p>Ultimo Ativo: <b>{{ row.1 }}</b></p>
			{% if row.3 < row.5 %}
				<p style="color:Green;background-image: url(/static/images/arrow_up_green.gif);background-repeat: no-repeat;background-position: right top;padding-right:18px;">Status Última: <b>+{{ row.5 }}</b></p>
			{% else %}
				<p style="color:Red;background-image: url(/static/images/red_down_arrow.gif);background-repeat: no-repeat;background-position: right top;padding-right:18px;">Status Última: <b>{{ row.5 }}</b></p>
			{% endif %}		  
{% endfor %}
  
{% if response_status_aib_open %}
	{% for row in response_status_aib_open %}
		<p>Open Trade: {{ row.4 }}</p>
	{% endfor %}
{% else %}
		<p>Open Trade: <b>Nenhuma</b></p>
{% endif %}
		  <br/>
		  <p><a  style="cursor:pointer" id="link_carteira_dir">Mais Detalhes</a></p>
        </div>